﻿using System;
namespace EnterpriseFund.Model
{
    /// <summary>
    /// UpLevelAllowance:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class UpLevelAllowance
    {
        public UpLevelAllowance()
        {
            FStatus = "N";
            FIsAudit = "N";
        }
        #region Model
        /// <summary>
        /// 其他补助文件电子档案号
        /// </summary>
        public string FUpLevelAllowanceID
        {
            set;
            get;
        }
        /// <summary>
        /// 文件名：
        ///拨付资金文件名
        /// </summary>
        public string FFileName
        {
            set;
            get;
        }
        /// <summary>
        /// 是否退回标志
        ///Y  - 是
        ///N - 否
        /// </summary>
        public string FIsReturn
        {
            set;
            get;
        }
        /// <summary>
        /// 文件号
        /// </summary>
        public string FFileNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? FFileTransDate
        {
            set;
            get;
        }
        /// <summary>
        /// 文件备注
        /// </summary>
        public string FNote
        {
            set;
            get;
        }
        /// <summary>
        /// 状态
        ///N - 新单
        ///A - 同意、审核通过
        ///D - 审核不通过
        /// </summary>
        public string FStatus
        {
            set;
            get;
        }

        /// <summary>
        /// 状态
        ///N - 新单
        ///A - 同意、审核通过
        ///D - 审核不通过
        /// </summary>
        public string FStatusStr
        {
            get
            {
                switch (FStatus)
                {
                    case "N":
                        return "新单";
                    case "A":
                        return "同意、审核通过";
                    case "D":
                        return "审核不通过";
                        
                }
                return "";
            }
        }
        /// <summary>
        /// 资金性质编号
        ///在资金性质编码表中，增加一个代码
        ///表示 上级补助

        /// </summary>
        public string FFinancePropNo
        {
            set;
            get;
        }
        /// <summary>
        /// 是否需要审批
        ///Y - 需要审批
        ///N - 不需要审批
        /// </summary>
        public string FIsAudit
        {
            set;
            get;
        }
        /// <summary>
        /// 年度
        /// </summary>
        public decimal FYear
        {
            set;
            get;
        }
        /// <summary>
        /// 其他补助类型编码
        /// </summary>
        public string FUpLevelAllowanceClsNo
        {
            set;
            get;
        }
        /// <summary>
        /// 公司编码
        /// </summary>
        public string FEntityNo
        {
            set;
            get;
        }
        /// <summary>
        /// 录入员工编号
        /// </summary>
        public string FInsEmpNo
        {
            set;
            get;
        }
        /// <summary>
        /// 录入部门编号
        /// </summary>
        public string FInsDeptNo
        {
            set;
            get;
        }
        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime FInsDate
        {
            set;
            get;
        }
        /// <summary>
        /// 录入IP
        /// </summary>
        public string FInsIP
        {
            set;
            get;
        }
        /// <summary>
        /// 修改员工编号
        /// </summary>
        public string FUpdEmplNo
        {
            set;
            get;
        }
        /// <summary>
        /// 修改部门编号
        /// </summary>
        public string FUpdDeptNo
        {
            set;
            get;
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? FUpdDate
        {
            set;
            get;
        }
        /// <summary>
        /// 修改IP
        /// </summary>
        public string FUpdIP
        {
            set;
            get;
        }

        public string sumFAmount
        {
            get;
            set;
        }
        #endregion Model

    }
}

